#ifndef APPLICATION_H
#define APPLICATION_H

#include <string>

class AStar;

class Application
{
	friend class AStar;
public:
	static const unsigned int MAP_WIDTH = 32;
	static const unsigned int MAP_HEIGHT = 16;

	Application();
	virtual ~Application();

	void LoadMap(const std::string _filename);
	void ShowMap();
	void ShowPath();
	void ReadKeyboard();

private:
	char** m_map;
	std::pair<unsigned int, unsigned int> m_start;
	std::pair<unsigned int, unsigned int> m_end;
	AStar* m_star;
};

#endif